package com.caishi.lkx.exam.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.caishi.lkx.exam.model.PaperModel;
import com.zzw.common.entity.IBSMapper;
import com.zzw.common.mysql.LogicalDataMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * @author by Jansia
 * @Date 2022/1/20 16:48
 * @Description
 */
public interface PaperMapper extends IBSMapper<PaperModel, String>, LogicalDataMapper<PaperModel, String> {
    int updateDelete(PaperModel paperModel);
    int revoke(String id);
    IPage<PaperModel> paperByColumnIdPage(Page<PaperModel> page,@Param("param") Map<String,Object>param);
}
